package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_vehicle_reset", desc = "珍兽重置", autoSave = true, uploadCk = true)
public class LogVehicleReset extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "珍兽唯一id")
    private String vehicleUid;
    @FieldTypeAnnotation(desc = "珍兽配置id")
    private int templateId;
    @FieldTypeAnnotation(desc = "等级")
    private int level;
    @FieldTypeAnnotation(desc = "突破等级")
    private int breakLv;
    @FieldTypeAnnotation(desc = "学习等级")
    private int studyLv;
    @FieldTypeAnnotation(desc = "获得时间")
    private long createTime;
    @FieldTypeAnnotation(desc = "重置返还材料")
    private String reward;

    public LogVehicleReset(long userId, String vehicleUid, int templateId, int level, int breakLv, int studyLv, long createTime, String reward) {
        this.userId = userId;
        this.vehicleUid = vehicleUid;
        this.templateId = templateId;
        this.level = level;
        this.breakLv = breakLv;
        this.studyLv = studyLv;
        this.createTime = createTime;
        this.reward = reward;
    }

    public long getUserId() {
        return userId;
    }
}
